package org.example.erp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.erp.domain.Color;
import org.example.erp.mapper.ColorMapper;
import org.example.erp.service.ColorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ColorServiceImpl extends ServiceImpl<ColorMapper, Color> implements ColorService {
    @Autowired
    private ColorMapper colorMapper;

    public List<Color> findAll(String colorCode, String color, String remarks, int currentPage, int pageSize) {
        return colorMapper.findAll();
    }
}
